package com.dt76.smallloanbackenduser.remote.jh;


import com.dt76.smallloanbackenduser.hystrix.jh.UserstatisticsHystrix;
import com.dt76.smallloanbackenduser.pojo.jh.DataTemplate;
import org.springframework.cloud.netflix.feign.FeignClient;

import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;
import java.util.Map;


@FeignClient(name = "smallloan-backend-service", fallback = UserstatisticsHystrix.class)
public interface UserstatisticsRemote {

    @RequestMapping("/jh/qryAll")
    Map<String, List<DataTemplate>> qryAll();

}
